﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BackMaster2.Master" AutoEventWireup="true" CodeBehind="PublishTypeShow.aspx.cs" Inherits="BackStage.PublishTypeShow" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <%--<link href="BootstrapSouce/css/bootstrap.min.css" rel="stylesheet" />
    <script src="BootstrapSouce/js/jquery.min.js"></script>
    <script src="BootstrapSouce/js/bootstrap.min.js"></script>
    <script src="Content/js/jquery-1.10.1.min.js"></script>--%>
    <div style="width: 950px; height: 100%; margin-top: 10px; margin-left: 60px; text-align:center;">、
        <h2>公告类别</h2>
        <br />
        <form id="form1" runat="server" style="text-align:center;">
            <table style="text-align:center; height:200px; width:500px; margin:auto; border:solid 2px #000000; font-size:16px;  " border="1">
                <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                    <HeaderTemplate>
                        <tr>
                            <th>广告类别编号</th>
                            <th>广告类别名称</th>
                            <th>操作</th>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center"><%#Eval("TID")%></td>
                            <td style="text-align:center"><%#Eval("PT_Name")%></td>
                            <td>
                                <asp:Button ID="Button1" runat="server" Text="删除" Enabled="False" CommandName="del" CommandArgument='<%#Eval("TID") %>' OnClientClick="return confirm('确认删除吗？')" />
                                <asp:Button ID="Button2" runat="server" Text="编辑" CommandName="upd" CommandArgument='<%#Eval("TID") %>' />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <br /><span>友情提示：数据无价，最高权限管理员可操作删除数据</span>
        </form>
    </div>
</asp:Content>

